﻿@model List<MovieTheater.DataModels.Movie>

    <div class="jumbotron">Movie Review Central: List View</div>

<table class="table-bordered table-condensed">
    <tr>
        <th>Movie Poster</th>
        <th>Movie Title</th>
        <th>Movie Rating</th>
    </tr>
    @foreach (var m in Model)
    {
        <tr onclick="location.href='/Home/Detail/@m.Id'">
            <td><img src="@m.Poster" style="height:250px; width:300px;"/></td>
            <td>@m.Title</td>
            <td>@m.Rating</td>
        </tr>
    }



</table>